package dockyin.structure.pattern.adapter.objectadapter;

public class Wrapper implements Targetable {
    private Source sourceObj;

    public Wrapper(Source source) {
        super();
        this.sourceObj = source;
    }

    public void method1() {
        sourceObj.method1();
    }

    public void method2() {
        System.out.println("Message from Class:Wrapper, Method:method2()");
    }
}
